//
//  YGBodyDataBLL.h
//  yuanshangyiliao
//
//  Created by icholab on 2021/4/27.
//

#import <Foundation/Foundation.h>
#import "YGBodyDataModel.h"
#import "YGBodyHistoryModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface YGBodyDataBLL : NSObject

+(void)requestServerDetailWithData:(NSString *)age
                               sex:(NSString *)sex
                           stature:(NSString *)stature
                            weight:(NSString *)weight
                           Success:(void (^)(YGBodyDataModel *model))success
                              fail:(void (^)(NSError *error))fail;

+(void)requestServerHistorySuccess:(void (^)(NSArray <YGBodyHistoryModel *> *model))success
                              fail:(void (^)(NSError *error))fail;
//YG_Medical_URL
@end

NS_ASSUME_NONNULL_END
